package com.wmeimob.fastboot.jiubei.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.io.Serializable;
import java.util.*;
import java.math.*;


/**
* ShopGoodsBrowseRecord.java
* http://www.wmeimob.com
* Copyright © 2018 wmeimob All Rights Reserved,version 1.0
* @author：wjt
* Mon Sep 07 23:58:44 CST 2020 Created
*/ 

@Table(name = "`shop_goods_browse_record`")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ShopGoodsBrowseRecord implements Serializable {
	
   private static final long serialVersionUID = 1L;
	
    /**
     * Id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /**
     * 商品名称
     */
    @Column(name = "name")
    private String name;
    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;
    /**
     * GmtCreate
     */
    @Column(name = "gmt_create")
    @JsonFormat(locale="zh", pattern="yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

}